//     ____    _                        __     _      _____
//    / ___\  /_\     /\/\    /\ /\    /__\   /_\     \_   \
//    \ \    //_\\   /    \  / / \ \  / \//  //_\\     / /\/
//  /\_\ \  /  _  \ / /\/\ \ \ \_/ / / _  \ /  _  \ /\/ /_
//  \____/  \_/ \_/ \/    \/  \___/  \/ \_/ \_/ \_/ \____/
//
//	         Copyright The Only Love 董小菡 by 周凯东
#import "UIButton+Button.h"

@implementation UIButton (Button)


+(instancetype)buttonWithFrame:(CGRect)frame type:(UIButtonType)type title:(NSString *)title target:(id)target action:(SEL)action
{
    UIButton *b = [UIButton buttonWithType:type];
    b.frame = frame;
    [b setTitle:title forState:UIControlStateNormal];
    [b addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];
    
    
    return b;
}

@end
